/**
*	@class CbmpLoader
*
*	@brief
*
*	@author William McVicar
*/

#pragma once

#ifndef __BMPLOADER_H_INCLUDED__
#define __BMPLOADER_H_INCLUDED__

//  Library Includes

//  Local Includes

//  Macros

//  Forward Declarations
class Image;

//  Types
struct BMPHeader {
	u16 bmpIdentifier;
	u8  junk[16];
	u32 width;
	u32 height;
	u16 bpp;
	u16 junk2;
	u16 compression;
	u8  junk3[22];
};

//  Constants
#define BITMAP_ID 0x4D42	// The universal bitmap ID

//  Prototypes

namespace Protein
{

class CBMP
{
	//Member Functions
public:

	CBMP();
	~CBMP();

	static bool Load( const c8* _szFilename, Image& _rImage );

protected: 

private: 

	//Member Variables
public:

protected: 

private: 

};

}

#endif //__BMPLOADER_H_INCLUDED__
